const TaskStatus: any =
{
  '0': "All",
  '1': "Unpublished",
  '2': "Published",
  '-1': "Canceled",
  '3': "Finished",
};

const TaskStatusKV = [
  {
    text: "All",
    value: 0
  },
  {
    text: "Unpublished",
    value: 1
  },
  {
    text: "Published",
    value: 2
  },
  {
    text: "Canceled",
    value: -1
  },
  {
    text: "Finished",
    value: 3
  },
];

const Platform: any = {
  '1': 'Amazon',
};


const PlatformKV: any =
  [{
    text: 'Amazon',
    value: 1
  }];

const OrderStatus: any =
{
  '0': "All",
  '-1': "Canceled",
  '1': "Received",
  '3': "Ordered",
  '4': "To be reviewed",
  '5': "Reviewed",
  '6': "Finished",
  '7': "Payed",
}

const OrderStatusKV = [
  {
    text: "All",
    value: 0
  },
  {
    text: "Canceled",
    value: -1
  },
  {
    text: "Received",
    value: 1
  },
  {
    text: "Ordered",
    value: 3,
  },
  {
    text: "To be reviewed",
    value: 4
  },
  {
    text: "Reviewed",
    value: 5
  },
  {
    text: "Finished",
    value: 6
  },
  {
    text: "Payed",
    value: 7
  }
];

const PageOptions = [
  {
    text: 10,
    value: 10
  },
  {
    text: 15,
    value: 15
  },
  {
    text: 20,
    value: 20
  }
];

// 交易状态
const TopupStatus: any =
{
  '0': "Await",
  '1': "Audit success",
  '-1': "Audit fail",
};

const TopupStatusKV = [
  {
    text: "Await",
    value: 0
  },
  {
    text: "Audit success",
    value: 1
  },
  {
    text: "Audit fail",
    value: -1
  }
];

const BuyerStatus: any =
{
  '0': "Await",
  '1': "Passed",
  '-1': "Rejected",
};

const BuyerStatusKV = [
  // {
  //   text: "All",
  //   value: 0
  // },
  {
    text: "Await",
    value: 0
  },
  {
    text: "Passed",
    value: 1
  },
  {
    text: "Rejected",
    value: -1
  }
];

const MemberType: any =
{
  '0': "All",
  '1': "Buyer",
  '2': "Seller",
  '3': "Admin",
};

const MemberTypeKV = [
  {
    text: "All",
    value: 0
  },
  {
    text: "Buyer",
    value: 1
  },
  {
    text: "Seller",
    value: 2
  },
  {
    text: "Admin",
    value: 3
  }
];

const UserType: any = {
  '0': "All",
  '1': "Console",
  '2': "Seller",
}
const UserTypeKV: any = [
  {
    text: "All",
    value: 0
  },
  {
    text: "Console",
    value: 1
  },
  {
    text: "Seller",
    value: 2
  },
]

const TaskType: any = {
  '0': "Unknown",
  '1': "No review",
  '2': "Review",
  '3': "Product review",
  '4': "Feedback",
}

const TaskTypeKV: any = [
  {
    text: "Unknown",
    value: 0
  },
  {
    text: "No review",
    value: 1
  },
  {
    text: "Review",
    value: 2
  },
  {
    text: "Product review",
    value: 3
  },
  {
    text: "Feedback",
    value: 4
  },
];

const IncomeType: any = {
  '0': 'All',
  '1': 'Topup',
  '2': 'Withdraw',
};

const IncomeTypeKV: any = [
  {
    text: "All",
    value: 0
  },
  {
    text: "Topup",
    value: 1
  },
  {
    text: "Withdraw",
    value: 2
  },
];
const PayMethod: any = {
  '1': 'AliPay',
  '0': 'WechatPay',
  '2': 'PayPal',
};

const PayMethodKV: any = [
  {
    text: "AliPay",
    value: 1
  },
  {
    text: "WechatPay",
    value: 0
  },
  {
    text: "PayPal",
    value: 2
  },
];
const AccruedType: any = {
  '0': 'All',
  // 收入
  '1': '任务基本应收',
  '3': '附加费应收',
  '5': '佣金应收',
  // 支出
  '2': '任务基本应付',
  '4': '附加费应付',
  '6': '佣金应付',
}

const ProjectType: any = {
  '0': 'All',
  '1': 'Topup',
  '2': 'Withdraw',
  '3': '发布任务',
}

const ProjectTypeKV: any = [
  {
    text: "All",
    value: 0
  },
  {
    text: "Topup",
    value: 1
  },
  {
    text: "Withdraw",
    value: 2
  },
  {
    text: "Publish",
    value: 3
  },
];

const Site: any = {
  '1': 'US',
  '2': 'FR',
};

const SiteKV: any = [
  { text: "US", value: 1 },
  { text: "FR", value: 2 },

]
const Category = {
  "1": "Prime Video",
  "2": "Music, CDs & Vinyl",
  "3": "Digital Music",
  "4": "Kindle Store",
  "5": "Arts & Crafts",
  "6": "Automotive",
  "7": "Baby",
  "8": "Beauty & Personal Care",
  "9": "Books",
  "10": "Computers",
  "11": "Electronics",
  "12": "Women's Fashion",
  "13": "Men's Fashion",
  "14": "Girls' Fashion",
  "15": "Boys' Fashion",
  "16": "Health & Household",
  "17": "Home & Kitchen",
  "18": "Industrial & Scientific",
  "19": "Luggage",
  "20": "Movies & Television",
  "21": "Pet Supplies",
  "22": "Software",
  "23": "Sports & Outdoors",
  "24": "Tools & Home Improvement",
  "25": "Toys & Games",
  "26": "Video Games"
};

const CategoryKV = [
  { text: "Prime Video", value: 1 },
  { text: "Music, CDs & Vinyl", value: 2 },
  { text: "Digital Music", value: 3 },
  { text: "Kindle Store", value: 4 },
  { text: "Arts & Crafts", value: 5 },
  { text: "Automotive", value: 6 },
  { text: "Baby", value: 7 },
  { text: "Beauty & Personal Care", value: 8 },
  { text: "Books", value: 9 },
  { text: "Computers", value: 10 },
  { text: "Electronics", value: 11 },
  { text: "Women's Fashion", value: 12 },
  { text: "Men's Fashion", value: 13 },
  { text: "Girls' Fashion", value: 14 },
  { text: "Boys' Fashion", value: 15 },
  { text: "Health & Household", value: 16 },
  { text: "Home & Kitchen", value: 17 },
  { text: "Industrial & Scientific", value: 18 },
  { text: "Luggage", value: 19 },
  { text: "Movies & Television", value: 20 },
  { text: "Pet Supplies", value: 21 },
  { text: "Software", value: 22 },
  { text: "Sports & Outdoors", value: 23 },
  { text: "Tools & Home Improvement", value: 24 },
  { text: "Toys & Games", value: 25 },
  { text: "Video Games", value: 26 },];

export {
  TaskStatus,
  TaskStatusKV,
  TopupStatus,
  TopupStatusKV,
  BuyerStatus,
  BuyerStatusKV,
  MemberType,
  MemberTypeKV,
  PageOptions,
  UserType,
  UserTypeKV,
  OrderStatus,
  OrderStatusKV,
  TaskType,
  TaskTypeKV,
  IncomeType,
  IncomeTypeKV,
  ProjectType,
  ProjectTypeKV,
  Site,
  SiteKV,
  PayMethod,
  PayMethodKV,
  Platform,
  PlatformKV,
  Category,
  CategoryKV,
};